package sys.tests;

import sys.*;
import sys.message.*;
import sys.transport.*;

public class Test1
{
    public static void startTest()
    {
        System.out.println("---------------------------------------------------");
        System.out.println("Test1. Good scenario. User sends request, pays for it and makes confirmation");
        System.out.println("---------------------------------------------------");
        String server = "localhost.localdomain", 
               sysa = "systema@localhost.localdomain", 
               payingSystem = "systemc@localhost.localdomain", 
               userName = "user_1";
        try
        {
            Main.sendNewRequest(server, sysa, payingSystem, userName, 10);
            Main.sendPayingRequest(server, payingSystem, userName, 0);
        }
        catch(Exception e) {}
    }
}
